<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/12/09,0009
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="js/jquery.min.js"></script>
</head>
<body>
    <input type="button" value="查询" onclick="toget()">
</body>
</html>
<script>
    function toget(){
        $.ajax({
           type:"get",
            url:"/user/1",
            success:function (data){
               console.log(data);
            }

        });
    }
</script>
